from selenium import webdriver
from lxml import etree

# 实例化浏览器对象
browser = webdriver.Chrome(executable_path='./chromedriver.exe')
browser.get('https://www.nmpa.gov.cn/datasearch/home-index.html#category=hzp')

# 当前页面源码数据
page_text = browser.page_source

etree_html = etree.HTML(page_text)

